package com.tv.nextin.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class Staff implements Parcelable{
	String name;
	
	public Staff(String name){
		super();
		this.name = name;
	}
	
	public Staff(){
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Staff(Parcel in){
		name = in.readString();
	}
	
	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int arg1) {
		dest.writeString(name);
	}
	
	public static final Parcelable.Creator<Staff> CREATOR = new Parcelable.Creator<Staff>() {
		public Staff createFromParcel(Parcel in) {
			return new Staff(in);
		}

		public Staff[] newArray(int size) {
			return new Staff[size];
		}
	};

}
